//package com.zhouyu.jpademo.repository.oneToMany;
//
//import com.zhouyu.jpademo.entity.oneToMany.onway.DepartMent;
//import com.zhouyu.jpademo.entity.oneToMany.onway.Student;
//
//import org.springframework.data.repository.CrudRepository;
//
//import java.util.List;
//
//public interface StudentDao extends CrudRepository<Student, Long> {
//  List<Student> findByName(String name);
//  List<Student> findByDepartMent_Id(Long departMent);
//  List<Student> findByDepartMent(DepartMent departMent);
//}
